package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店配品汇总对象 store_accessories_summary
 *
 * @author ruoyi
 * @date 2025-05-27
 */
public class StoreAccessoriesSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID，主键，自增唯一标识 */
    private Long id;

    /** 门店名称，例如“XX分店”“XX旗舰店”等，不允许为空 */
    @Excel(name = "门店名称，例如“XX分店”“XX旗舰店”等，不允许为空")
    private String storeName;

    /** 门店编号，业务唯一标识码（如系统编码），不允许为空且唯一 */
    @Excel(name = "门店编号，业务唯一标识码", readConverterExp = "如=系统编码")
    private String storeCode;

    /** 配品总数，记录该门店下所有配品的数量，默认为0，由应用层动态更新 */
    @Excel(name = "配品总数，记录该门店下所有配品的数量，默认为0，由应用层动态更新")
    private Long totalAccessoriesCount;

    /** 配品分类数，记录该门店下所有配品分类的数量，默认为0，由应用层动态更新 */
    @Excel(name = "配品分类数，记录该门店下所有配品分类的数量，默认为0，由应用层动态更新")
    private Long totalAccessoriesCategoryCount;

    /** 门店配品状态，1表示启用，0表示禁用，默认为启用 */
    @Excel(name = "门店配品状态，1表示启用，0表示禁用，默认为启用")
    private Integer status;

    /** 记录创建时间，默认为当前时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间，默认为当前时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间，默认为当前时间，更新时自动刷新 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录更新时间，默认为当前时间，更新时自动刷新", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }

    public void setStoreCode(String storeCode)
    {
        this.storeCode = storeCode;
    }

    public String getStoreCode()
    {
        return storeCode;
    }

    public void setTotalAccessoriesCount(Long totalAccessoriesCount)
    {
        this.totalAccessoriesCount = totalAccessoriesCount;
    }

    public Long getTotalAccessoriesCount()
    {
        return totalAccessoriesCount;
    }

    public void setTotalAccessoriesCategoryCount(Long totalAccessoriesCategoryCount)
    {
        this.totalAccessoriesCategoryCount = totalAccessoriesCategoryCount;
    }

    public Long getTotalAccessoriesCategoryCount()
    {
        return totalAccessoriesCategoryCount;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setCreatedAt(Date createdAt)
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt()
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt)
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt()
    {
        return updatedAt;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeName", getStoreName())
                .append("storeCode", getStoreCode())
                .append("totalAccessoriesCount", getTotalAccessoriesCount())
                .append("totalAccessoriesCategoryCount", getTotalAccessoriesCategoryCount())
                .append("status", getStatus())
                .append("createdAt", getCreatedAt())
                .append("updatedAt", getUpdatedAt())
                .append("phone", getPhone())
                .toString();
    }
}
